package com.spring.nio.core.event.listener.event.model;

import lombok.Data;

/**
 * @author: YSFY
 * @date: 2021-03-24 14:31
 * @pacage_name: com.spring.nio.core.event.listener.event.model
 * @class_name: ExceptionEventSource
 * @description: 具体异常事件源
 */

@Data
public class NioReadExceptionEventSource extends ExceptionEventSource {

    /**
     * 是否执行用户下线
     * */
    private Boolean isLogout;

    /**
     * 是否单独清除remoteAddress对应的文件上传任务
     * */
    private Boolean isClearSingleFileUploadTask;

    /**
     * 是否单独清除remoteAddress对应的文件下载任务
     * */
    private Boolean isClearSingleFileDownloadTask;
}
